package com.y.fund.domain.mem;

import com.y.fund.aacore.abs.IdObj;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

/** 基础数据-企业  */
@Entity
@Getter
@Setter
@Table(name="mb11_company")
@Schema(title = "企业信息")
public class MB11Group extends IdObj{
	
	private static final long serialVersionUID = 8479833308489544L;

	@NotBlank(message = "分组名称不能为空")
	@Column(name="g_name", length=128)
	@Schema(title = "分组名称", nullable = false)
	private String name;
	
	@Schema(title = "备注")
	@Column(name="c_remarks", length=1024)
	private String remarks;

	@Schema(title = "分组类型")
	@Column(name="c_type")
	private Integer type;
	
	@Schema(title = "组成员数量")
	@Column(name="emp_num")
	private Integer empNum;

	public MB11Group() {
		super();
	}
	
}
